package com.unitd.scheduler.model;

import java.util.ArrayList;
import java.util.List;

/**
 * @desc Job任务组信息类, 用于定义Job所在组的信息
 * @filename JobGroupInfo.java
 * @copyright www.unitd.com
 * @author Hudan
 * @version 1.0
 * @date 2016/10/14
 */
public class JobGroupInfo {

	/** Job组信息 */
	private String name;
	/** Job列表 */
	List<JobConfig> jobs = new ArrayList<>();
	/** 定时器的集群几点 */
	List<String> clusterNodes = new ArrayList<>();

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<JobConfig> getJobs() {
		return jobs;
	}

	public void setJobs(List<JobConfig> jobs) {
		this.jobs = jobs;
	}

	public List<String> getClusterNodes() {
		return clusterNodes;
	}

	public void setClusterNodes(List<String> clusterNodes) {
		this.clusterNodes = clusterNodes;
	}
}